/**
 * @description 注册全局组件
 */
import PageTools from './pageTools'
// 上传 Excel 子组件
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from '@/components/ImageUpload'
import ImageHolder from '@/components/imageHolder'
import Lang from './Lang'
import ScreenFull from './ScreenFull'

const components = [
  PageTools,
  UploadExcel,
  ImageUpload,
  ImageHolder,
  Lang,
  ScreenFull

]
export default {
  install(Vue) {
    // Vue.component('PageTools', PageTools)
    components.forEach(component => {
      Vue.component(component.name, component)
    })
  }
}

